package cn.iocoder.yudao.module.system.controller.admin.workhanging.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 下挂记录分页 Request VO")
@Data
public class WorkHangingPageReqVO extends PageParam {

    @Schema(description = "工单表id", example = "854")
    private Integer workId;

    @Schema(description = "分组")
    private String subgroup;

    @Schema(description = "单箱数量")
    private BigDecimal perBoxNum;

    @Schema(description = "不良品数量")
    private BigDecimal rejectsNum;

    @Schema(description = "入库箱数")
    private Integer boxNum;

    @Schema(description = "下挂时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] hangTime;

    @Schema(description = "入库总数量")
    private BigDecimal totalQuantity;

    @Schema(description = "不良品现象")
    private String badPhenomenon;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
